package com.ctsi.ssdc.service;


import com.ctsi.ssdc.model.PageResult;
import org.springframework.data.domain.Pageable;

import com.ctsi.ssdc.domain.LitemallOrderGoods;
import com.ctsi.ssdc.domain.LitemallOrderGoodsExample;
import com.ctsi.ssdc.service.StrengthenBaseService;

import java.util.List;

/**
 * Service Interface for managing LitemallOrderGoods.
 *
 * @author ctsi-biyi-generator
 *
 */
public interface LitemallOrderGoodsService 
	extends StrengthenBaseService<LitemallOrderGoods, Integer, LitemallOrderGoodsExample>{


    /**
    * GET  /litemallOrderGoodss : get the litemallOrderGoodss firstStringBaseColumn.
    */
    PageResult<LitemallOrderGoods> findFirstStringColumn(String goodsName ,Pageable pageable);

    List<LitemallOrderGoods> queryByOid(Integer orderId);

    int add(LitemallOrderGoods orderGoods);


    Short getComments(Integer orderId);

    List<LitemallOrderGoods> findByOidAndGid(Integer orderId, Integer goodsId);

    LitemallOrderGoods findById(Integer orderGoodsId);

    void updateById(LitemallOrderGoods orderGoods);
}
